package com.ftg.learn.chapter08.baidicheng.zengwanglun;

/**
 * 船类
 *
 * @author lijiaxin
 * @version 1.0
 * @date 2023/7/23 14:30
 */

public class Boat {




    public void move(Human humanl,Human humanw){

//        Human human1=new Human();
        humanl.go();
        humanl.listen();

        Water water=new Water();
        water.setDepth(10000);
        water.setName("桃花潭水");
        humanl.look(water);
        humanw.think();
    }

}
